﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace padnug.Models.Home
{
    public class IndexViewModel
    {
        public Presentation FeaturedPresentation { get; set; }
        public IEnumerable<Presentation> UpcomingPresentations { get; set; }
        public IEnumerable<Sponsor> FeaturedSponsors { get; set; }
        public IEnumerable<EventNote> EventNotes { get; set; }
    }

    public class Presentation
    {
        public string SpeakerPhotoUrl { get; set; }      // "alice.jpg", "bob.png", etc
        public string OrganizationName { get; set; }     // "PADNUG", "SLUG", etc
        public DateTime EventDate { get; set; }          // "Jan 5, 2010" (time is not used)
        public string Title { get; set; }                // "BizTalk: What is it and why does it matter?"
        public string SpeakerName { get; set; }          // "Alice Brown"
        public string EventDetailsHtml { get; set; }     // HTML content describing the event: 
        #region commented out code
        /*

            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>

            <p>
                <strong>Time:</strong><br />
                6:00pm Pizza (by Ascentium)<br />
                6:30pm Presentation<br />
                9:00pm Afterwards at Gustav's
            </p>

            <p>
                <strong>Location:</strong><br />
                Microsoft Portland Office located in Lincoln Tower<br />
                10260 SW Greenburg Road<br />
                Suite 600<br />
                Portland, OR 97223
            </p>

        */

        #endregion
    }

    public class Sponsor
    {
        public string Name { get; set; }               // "Contoso, Inc."
        public string LogoUrl { get; set; }            // "Contoso.jpg"
        public string Website { get; set; }            // "http://www.contoso.com"
    }

    public class EventNote
    {
        public string Title { get; set; }              // "OTN: Certified Scrum Master Training"
        public string EventDate { get; set; }          // "April 22 and April 23, 9:00am-5:00pm"
        public string Url { get; set; }                // "http://www.sao.org/events/event_details.asp?id=102320"
    }
}
